#pragma once

#include <memory>
#include "stream/meta/Size.h"

namespace stream {
namespace impl {
namespace rocksdb {

class Rocksdb;

namespace meta {

class Size : public ::stream::meta::Size {
public:
	Size(std::shared_ptr<Rocksdb> db, size_t v);
	~Size()override;

	bool load()override;
    bool store()override;
private:
	std::shared_ptr<Rocksdb> _db;
};

}//namespace meta
}//end namespace rocksdb
}//end namespace impl
}//end namespace stream
